@import "var";
//优惠券
.ui-coupon {
  background: linear-gradient(to right, #d97a73, #d9534f);
  font-size: 10px;
  line-height: 18px;
  padding: 0px 6px;
  color: $fff;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  vertical-align: text-bottom;
  white-space: nowrap;
  text-overflow: ellipsis;
  &-val {
    font-size: 12px;
  }
  &:before, &:after {
    position: absolute;
    display: block;
    content: " ";
    width: 4px;
    height: 4px;
    border-radius: 4px;
    top: 50%;
    margin-top: -2px;
    background-color: #fff;
  }
  &:before {
    left: -2px;
  }
  &:after {
    right: -2px;
  }
}

.ui-page-top-tip {
  font-size: 12px;
  color: $color-muted;
  text-align: center;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}


.ui-page-msg {
  position: absolute;
  top: 33%;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  &-icon {

  }
  &-text {
    &-desc {
      font-size: $font-size-base;
      color: $color-muted;
    }
  }
}

.ui-page-actionbar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  flex-direction: row;
  background-color: #FFFFFF;
  box-shadow: 0 0 -5px #ddd;
  &-btn {
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
}

.ui-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid darken($brand-primary, 10%);
  color: #fff;
  box-shadow: 0px 0px 5px rgba(102, 102, 102, 0.62);
  z-index: 1000;
  &-icon {
    font-size: 18px;
    line-height: 18px;
    color: $brand-primary;
  }
}